<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!-- set bien check liked -->
<div class="like">
<c:choose>
	<c:when test="${userInfo != null}">
		<c:choose>
			<c:when test="${flagLiked}">
				<a class="corner3 buttonOrange" id="btYeuThich" href="" title="Hủy thích truyện ${truyen.name}">Hủy thích</a>
			</c:when>
			<c:otherwise>
				<a class="corner3 buttonOrange" id="btYeuThich" href="" title="Yêu thích truyện ${truyen.name}">Yêu thích</a>
			</c:otherwise>
		</c:choose>
	</c:when>
	<c:otherwise>
		<a class="corner3 btGetBoxLogin buttonOrange" href="" title="Yêu thích truyện ${truyen.name}">Yêu thích</a>
	</c:otherwise>
</c:choose>
</div>